package com.ruoyi.common.sms.dao;

import com.ruoyi.common.sms.entity.YytSmsCoupon;
import com.ruoyi.common.sms.entity.YytSmsCouponHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* <p>
    * 优惠券领取历史记录 Mapper 接口
    * </p>
*
* @author MrPing
* @since 2022-05-31
*/
@Repository
public interface YytSmsCouponHistoryMapper extends BaseMapper<YytSmsCouponHistory> {

    List<YytSmsCoupon> getUserSpuHistoryList(@Param("memberId") String memberId, @Param("spuId") String spuId);
}
